<include file="../header" />
<style type="text/css">
.gou {
    font-weight: bold;
    color: red;
    text-align: center;
}
.cha {
    color: blue;
}
.sp {
    padding: 0 .3em;
    color: #999;
}
</style>
<div id="left-sider"><include file="../left-sider" /></div>
<div id="main" class="abstract-list-page">
	<div class="main-hd">
		<h2>上传的论文</h2>
        <div class="hd-right">
            <div class="download">
                <a href="/admin.php/Paper/paperdownall/" class="abtn" target="_blank">下载全部</a>
            </div>
        </div>
	</div>
    <div class="main-bd">
        <div class="func-banner">
            <div class="filter">
                <span>过滤:</span>
                <a href="###" class="abtn filter-btn" lang="all">全部</a>
                <a href="###" class="abtn filter-btn" lang="pass">通过</a>
                <a href="###" class="abtn filter-btn" lang="reject">驳回</a>
                <a href="###" class="abtn filter-btn" lang="wait">待定</a>
            </div>
            <div class="search-tool">
                <select id="search-type">
                    <option value="aid" selected>作者ID</option>
                    <option value="aname">作者姓名</option>
                    <option value="auni">作者单位</option>
                    <option value="amail">作者邮箱</option>
                </select>
                <input type="text" id="search-text" placeholder="搜索内容" />
                <input type="button" id="search-btn" value="搜索" />
            </div>
            <div class="clear"></div>
        </div>
        <div class="abst-boxes">
            <foreach name="list" item="ll">
                <div class="abst box-{$ll.review}">
                    <div class="info">
                        <p class="line-1">
                            <span>作者ID：<span class="author-id no-margin-right">{$ll.uid}</span></span>
                            <span title="用户ID：{$ll.uid}">
                                姓名：<span class="author-name no-margin-right">{$ll.name}</span>
                            </span>
                            <span>上传时间：{$ll.ct|date='Y/m/d H:i',###}</span>
                            <span class="status">
                                <if condition="$ll.survey neq 'unknown'">
                                    调查：
                                    <if condition="$ll.survey eq 'yes'">
                                        <span class="gou">√</span>
                                    <elseif condition="$ll.survey eq 'no'"/>
                                        <span class="cha">X</span>
                                    </if>
                                    <span class="sp">|</span>
                                </if>
                                状态：
                                <span class="{$ll.review}">
                                    <if condition="$ll.review eq 'pass'">通过
                                        <elseif condition="$ll.review eq 'reject'"/>驳回
                                        <else/>待定
                                    </if>
                                </span>
                            </span>
                        </p>
                        <p class="line-2">
                            <span>单位：<span class="author-uni no-margin-right">{$ll.uni}</span></span>
                            <span>电子邮箱：<span class="author-mail no-margin-right">{$ll.mail}</span></span>
                        </p>
                    </div>
                    <div class="content">
                        {$ll.abst|strip_tags|String::msubstr=0,200,"utf-8",true}
                    </div>
                    <div class="operation">
                        <a href="/admin.php/Paper/paperdown/id/{$ll.pid}" class="abtn download-btn" target="_blank" title="{$ll.fn}">下载</a>
                    </div>
                </div>
            </foreach>
        </div>
    </div>
</div>

<include file="../footer" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
<script type="text/javascript" src="http://photo.tongji.edu.cn/js/jquery.fancybox/jquery.fancybox-1.3.1.js"></script>
<script type="text/javascript" src="/Public/js/mng-abst.js"></script>